package com.apex.oauth.security.ice.granted;

import org.springframework.security.core.GrantedAuthority;

/**
 * Create by IntelliJ IDEA
 * 用户：王建
 * 日期：2018-4-3
 */
public class Openid implements GrantedAuthority {

    private String openid;

    public Openid(String openid){
        this.openid=openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    @Override
    public String getAuthority() {
        return openid;
    }
}
